#include "rectangle.h"

Rectangle::Rectangle() :
    width(1.0f),
    height(1.0f)
{
}

Rectangle::Rectangle(float x, float y, float width, float height) :
    Shape(x, y),
    width(width),
    height(height)
{
}

Rectangle::~Rectangle()
{
}

float Rectangle::getWidth() const
{
    return width;
}

float Rectangle::getHeight() const
{
    return height;
}
